MailPoet\Config\Hooks S

Total Complexity 46
Dependencies 25
Dependents 5
Total lines 700
Lines of code 510
Logical lines of code 151
Comment lines 59
Methods 27
Properties 20

Methods 27

Method Rating Maintainability Complexity Lines of code
setupSubscriptionEvents()
A
33 10 133
setupWooCommerceSubscriptionEvents()
S
50 3 33
setupCaptchaOnRegisterForm()
S
54 3 26
setupWPUsers()
S
47 1 51
deactivateCronActions()
S
63 3 11
setupWooCommerceUsers()
S
53 1 32
setupFooter()
S
64 2 11
setupWoocommerceSystemInfo()
S
57 1 23
__construct()
S
53 1 22
init()
S
57 1 20
setupWooCommerceSettings()
S
57 1 20
setFooter()
S
70 2 6
setScreenOption()
S
69 2 7
deactivateCronWhenInMaintenanceMode()
S
67 2 9
setupWooCommercePurchases()
S
62 1 14
setupMailer()
S
62 1 14
deactivateMailPoetCronBeforePluginUpgrade()
S
63 1 12
setupWooCommerceSubscriberEngagement()
S
65 1 11
setupListing()
S
68 1 8
setupPostNotifications()
S
68 1 8
setupAutomateWooSubscriptionEvents()
S
82 1 3
setupSettingsLinkInPluginPage()
S
71 1 6
setSettingsLinkInPluginPage()
S
68 1 6
setupChangeNotifications()
S
72 1 6
setupLicenseProvisioning()
S
68 1 8
initEarlyHooks()
S
82 1 3
setupWooCommerceTracking()
S
70 1 7